package com.lzy.masshappy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzy.masshappy.dao.UserDao;
import com.lzy.masshappy.model.entity.User;
import com.lzy.masshappy.service.UserService;
import com.lzy.masshappy.dao.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 30793
* @description 针对表【tb_user】的数据库操作Service实现
* @createDate 2025-06-26 16:35:46
*/
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserDao userDao;

    @Override
    public User getByAccount(String account) {

        User user = userDao.getByAccount(account);
        return user;
    }
}




